const Layout = () => import('@/layout/index.vue')
// 引入商品管理模块的页面组件
const orderStatistics = () => import('@/views/order/orderStatistics.vue')

export default [
  {
    path: '/order',
    component: Layout,
    //vue区分组件
    name: 'order', //必须和查询到的菜单的name值一样(menu表中的component值，用来生成动态菜单)
    meta: {
      //显示在页面左侧菜单栏中的标题
      title: '订单管理',
    },
    icon: 'Operation',
    children: [
      {
        path: 'orderStatistics',
        name: 'orderStatistics',
        component: orderStatistics,
        meta: {
          title: '订单统计',
        },
      },
    ],
  },
]
